﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MesajOku.aspx.cs" Inherits="Sahibinden.UserAction.MesajOku" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="../CSS/stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <center>
    <div style="margin-top:250px;">
    
    
        <asp:GridView ID="GridView1" runat="server" BorderStyle="None" HorizontalAlign="Center" 
        Width="531px" HeaderStyle-BackColor="AliceBlue" RowStyle-BackColor="Beige"  
        HeaderStyle-Height="30" AutoGenerateColumns="False" 
            onrowcommand="GridView1_RowCommand" ShowFooter="True">
<RowStyle BackColor="Beige" HorizontalAlign="Center"></RowStyle>

            <Columns> 
                <asp:TemplateField HeaderText="Sil">
                    <FooterTemplate>
                        <asp:Button ID="btnSil" runat="server" Text="Sil" Width="56px" 
                            onclick="btnSil_Click" />
                    </FooterTemplate>
                    <HeaderTemplate>
                     <asp:CheckBox ID="chkTumunuSil" runat="server" 
                            oncheckedchanged="chkTumunuSil_CheckedChanged"  AutoPostBack="true" 
                            Text="Tümünü Seç" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="chkSil" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Mesaj OKu" FooterStyle-Font-Names="Arial" >
                    <ItemTemplate>
                        <asp:LinkButton ID="lbOku" runat="server" Text=<%#Eval("Baslik") %> CommandName="Oku" CommandArgument=<%#Eval("MesajID") %>></asp:LinkButton>
                    </ItemTemplate>

<FooterStyle Font-Names="Arial"></FooterStyle>
                </asp:TemplateField>
                <asp:BoundField HeaderText="Kimden" DataField="Gonderen" />
                
                <asp:TemplateField HeaderText="MesajID">
                <ItemTemplate>
                    <asp:Label ID="lblMesajID" runat="server" Text=<%#Eval("MesajID") %>></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                
            </Columns>
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />

<HeaderStyle BackColor="AliceBlue" Height="30px" Font-Size="Small" CssClass="ml1Arial"></HeaderStyle>

            <AlternatingRowStyle BorderStyle="None" BackColor="White" BorderWidth="0"  />
        </asp:GridView>
    
    
    </div>
    </center>
    </form>
</body>
</html>
